package cfca.seal.front.service.ws.bean;

import cfca.seal.util.StringUtil;

public class SealAutoCrossPdfBean
{
  private String sealCode;
  private String sealPassword;
  private String sealPerson;
  private String sealLocation;
  private String sealReason;
  private String fromPage;
  private String toPage;
  private String crossStyle;

  public String getSealCode()
  {
    return this.sealCode;
  }

  public void setSealCode(String sealCode) {
    this.sealCode = sealCode;
  }

  public String getSealPassword() {
    return this.sealPassword;
  }

  public void setSealPassword(String sealPassword) {
    this.sealPassword = sealPassword;
  }

  public String getSealPerson() {
    return this.sealPerson;
  }

  public void setSealPerson(String sealPerson) {
    this.sealPerson = sealPerson;
  }

  public String getSealLocation() {
    return this.sealLocation;
  }

  public void setSealLocation(String sealLocation) {
    this.sealLocation = sealLocation;
  }

  public String getSealReason() {
    return this.sealReason;
  }

  public void setSealReason(String sealReason) {
    this.sealReason = sealReason;
  }

  public String getFromPage() {
    return this.fromPage;
  }

  public void setFromPage(String fromPage) {
    this.fromPage = fromPage;
  }

  public String getToPage() {
    return this.toPage;
  }

  public void setToPage(String toPage) {
    this.toPage = toPage;
  }

  public String getCrossStyle() {
    return this.crossStyle;
  }

  public void setCrossStyle(String crossStyle) {
    this.crossStyle = crossStyle;
  }

  public SealAutoCrossPdfBean(String xml) {
    this.sealCode = StringUtil.getNodeText(xml, "SealCode");
    this.sealPassword = StringUtil.getNodeText(xml, "SealPassword");
    this.sealLocation = StringUtil.getNodeText(xml, "SealLocation");
    this.sealReason = StringUtil.getNodeText(xml, "SealResson");
    this.fromPage = StringUtil.getNodeText(xml, "FromPage");
    this.toPage = StringUtil.getNodeText(xml, "ToPage");
    this.crossStyle = StringUtil.getNodeText(xml, "CrossStyle");
  }
}